//
//  ExpressionViewController.m
//  LilyBBS
//
//  Created by 孙 文翔 on 11-11-30.
//  Copyright (c) 2011年 NANJING UNIVERCITY. All rights reserved.
//

#import "ExpressionViewController.h"
#import <QuartzCore/QuartzCore.h>
#import "Reply.h"

@implementation ExpressionViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)didReceiveMemoryWarning
{
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc that aren't in use.
}

#pragma mark - View lifecycle

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    [self.view setBackgroundColor:[UIColor colorWithRed:0.0f green:0.0f blue:0.0f alpha:0.8]];
    
    //[self.view setBackgroundColor:[UIColor whiteColor]];
    self.view.layer.borderWidth = 0;
    self.view.layer.borderColor = [[UIColor grayColor] CGColor];
    self.view.layer.cornerRadius=4;
    self.view.layer.masksToBounds=YES;
    
    // Do any additional setup after loading the view from its nib.
}


- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    // Return YES for supported orientations
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end
